package com.jr.service.impl;

import com.jr.dao.ISalariesDao;
import com.jr.dao.impl.SalariesDaoImpl;
import com.jr.pojo.Salaries;
import com.jr.pojo2.EmpSalUsers;
import com.jr.service.ISalariesService;

import java.util.ArrayList;

public class SalariesServiceImpl implements ISalariesService {

    ISalariesDao isd = new SalariesDaoImpl();

    @Override
    public ArrayList<Salaries> queryBySalaries() {
        return null;
    }

    @Override
    public ArrayList<Salaries> queryBySalaries(Salaries salaries) {
        return null;
    }

    @Override
    public int addSalaries(Salaries salaries) {
        return 0;
    }

    @Override /* 添加 员工 时 同时添加 */
    public int addSalWithEmp(EmpSalUsers emp) {
        return isd.insertSalWithEmp(emp);
    }

    @Override
    public int changeSalaries(Salaries salaries) {
        return 0;
    }
}
